package com.blackbird.jang.layer;

import com.blackbird.jang.MainActivity;
import com.blackbird.jang.R;
import com.wiyun.engine.nodes.Layer;
import com.wiyun.engine.nodes.Sprite;

/**
 * 帮助
 * 
 * @author jang
 * 
 */
public class HelperLayer extends Layer {

	private static HelperLayer instance;

	public static HelperLayer getInstance() {

		if (instance == null) {
			instance = new HelperLayer();

		}
		return instance;
	}

	private HelperLayer() {
		Sprite board = Sprite.make(R.drawable.help);
		board.setScale(MainActivity.SCALE_X, MainActivity.SCALE_Y);
		board.setPosition(MainActivity.WIN_WIDTH / 2,
				MainActivity.WIN_HEIGHT / 2);
		
		this.addChild(board);
	}
}
